﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace MVCCalendarControlExtension
{
    public static class HtmlHelperExtension
    {
        public static string Calendar(this HtmlHelper pHelper)
        {
            Calendar calendar = new Calendar();
            return calendar.ToString();
        }

        public static string Calendar(this HtmlHelper pHelper, string pName)
        {
            Calendar calendar = new Calendar(pName);
            return calendar.ToString();
        }

        public static string Calendar(this HtmlHelper pHelper, string pName, DateTime pSelectedDate)
        {
            Calendar calendar = new Calendar(pName, pSelectedDate);
            return calendar.ToString();
        }

        //public static string Calendar(this HtmlHelper pHelper, string pName, List<MOBookingCalendar> pBookedDates, Dictionary<string, string> pMiscInfo)
        //{
        //    Calendar calendar = new Calendar(pName, DateTime.Now, pBookedDates, pMiscInfo);
        //    return calendar.ToString();
        //}

        //public static string Calendar(this HtmlHelper pHelper, string pName, DateTime pSelectedDate, List<MOBookingCalendar> pBookedDates, Dictionary<string, string> pMiscInfo)
        //{
        //    Calendar calendar = new Calendar(pName, pSelectedDate, pBookedDates, pMiscInfo);
        //    return calendar.ToString();
        //}
    }
}

